﻿@model BskLeague.Models.Licence
@using BskLeague.Models;
@{
    
    ViewBag.Title = "Przedłóż licencję";
}

<h3>Przedłóż licencję</h3>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)


        @Html.HiddenFor(model => model.LicenceId)
        @Html.LabelFor(model => model.LicenceId)
        @Html.DisplayFor(model => model.LicenceId)

        <div class="editor-label">
            @Html.LabelFor(model => model.SeasonExpId)
        </div>
        <div class="editor-field">
            @Html.DropDownList("SeasonExpId", ViewBag.seasonSelect as List<SelectListItem>)
            @Html.ValidationMessageFor(model => model.SeasonExpId)
        </div>

        <p>
            <input type="submit" value="Zatwierdź" />
        </p>
}

